package com.rnkrsoft.suyan.config.server.config.entity;

import com.rnkrsoft.framework.orm.PrimaryKey;
import com.rnkrsoft.framework.orm.jdbc.BaseEntity;
import com.rnkrsoft.framework.orm.jdbc.Comment;
import com.rnkrsoft.framework.orm.jdbc.StringColumn;
import com.rnkrsoft.framework.orm.jdbc.Table;
import lombok.*;
/**
 * Created by woate on 2018/5/13.
 */
@Data
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "OPERATE_HISTORY_VERSION", prefix = "TB")
@Comment("操作历史版本表")
public class OperateHistoryVersionEntity extends BaseEntity {
    @PrimaryKey
    @StringColumn(name = "HIS_VERSION", nullable = false)
    @Comment("历史版本物理主键")
    String hisVersion;

    @StringColumn(name = "OPERATE_ID", nullable = false)
    @Comment("操作编号")
    String operateId;

    @StringColumn(name = "VERSION_ID", nullable = false)
    @Comment("版本编号")
    String versionId;

    @StringColumn(name = "PROJECT_ID", nullable = false)
    @Comment("项目编号")
    String projectId;

    @StringColumn(name = "VERSION")
    @Comment("版本号")
    String version;

}
